package com.lemon.cloud.config;

import com.alibaba.nacos.api.naming.listener.Event;

/**
 *
 */
public interface NacosWatchEvent {

    String APP_NAME="spring.application.name";

    String APP_PORT="server.port";

    String getKey();

    boolean accept(String value);
    /**
     * SPI
     * @param event
     */
    void doEvent(Event event);

}
